package p270jp.pxv.android.commonObjects.model;

import android.support.p024v4.media.C0261e;
import java.util.Date;
import p014ae.C0172v6;
import p325m0.C4721b;
import p325m0.MutabilityOwnership;
import p389ob.SerializedName;

/* compiled from: Notification.kt */
/* renamed from: jp.pxv.android.commonObjects.model.Notification */
/* loaded from: classes2.dex */
public final class Notification {
    @SerializedName("content")
    private final NotificationContent content;
    @SerializedName("created_datetime")
    private final Date createdDatetime;
    @SerializedName("id")

    /* renamed from: id */
    private final long f18963id;
    @SerializedName("is_read")
    private final boolean isRead;
    @SerializedName("target_url")
    private final String targetUrl;
    @SerializedName("type")
    private final int type;
    @SerializedName("view_more")
    private final NotificationViewMore viewMore;

    public Notification(long j, Date date, int i, NotificationContent notificationContent, NotificationViewMore notificationViewMore, String str, boolean z) {
        MutabilityOwnership.m3745m(date, "createdDatetime");
        MutabilityOwnership.m3745m(notificationContent, "content");
        MutabilityOwnership.m3745m(str, "targetUrl");
        this.f18963id = j;
        this.createdDatetime = date;
        this.type = i;
        this.content = notificationContent;
        this.viewMore = notificationViewMore;
        this.targetUrl = str;
        this.isRead = z;
    }

    public final long component1() {
        return this.f18963id;
    }

    public final Date component2() {
        return this.createdDatetime;
    }

    public final int component3() {
        return this.type;
    }

    public final NotificationContent component4() {
        return this.content;
    }

    public final NotificationViewMore component5() {
        return this.viewMore;
    }

    public final String component6() {
        return this.targetUrl;
    }

    public final boolean component7() {
        return this.isRead;
    }

    public final Notification copy(long j, Date date, int i, NotificationContent notificationContent, NotificationViewMore notificationViewMore, String str, boolean z) {
        MutabilityOwnership.m3745m(date, "createdDatetime");
        MutabilityOwnership.m3745m(notificationContent, "content");
        MutabilityOwnership.m3745m(str, "targetUrl");
        return new Notification(j, date, i, notificationContent, notificationViewMore, str, z);
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof Notification)) {
            return false;
        }
        Notification notification = (Notification) obj;
        return this.f18963id == notification.f18963id && MutabilityOwnership.m3749h(this.createdDatetime, notification.createdDatetime) && this.type == notification.type && MutabilityOwnership.m3749h(this.content, notification.content) && MutabilityOwnership.m3749h(this.viewMore, notification.viewMore) && MutabilityOwnership.m3749h(this.targetUrl, notification.targetUrl) && this.isRead == notification.isRead;
    }

    public final NotificationContent getContent() {
        return this.content;
    }

    public final Date getCreatedDatetime() {
        return this.createdDatetime;
    }

    public final long getId() {
        return this.f18963id;
    }

    public final String getTargetUrl() {
        return this.targetUrl;
    }

    public final int getType() {
        return this.type;
    }

    public final NotificationViewMore getViewMore() {
        return this.viewMore;
    }

    public int hashCode() {
        long j = this.f18963id;
        int hashCode = (this.content.hashCode() + ((((this.createdDatetime.hashCode() + (((int) (j ^ (j >>> 32))) * 31)) * 31) + this.type) * 31)) * 31;
        NotificationViewMore notificationViewMore = this.viewMore;
        int a = C0172v6.m12134a(this.targetUrl, (hashCode + (notificationViewMore == null ? 0 : notificationViewMore.hashCode())) * 31, 31);
        boolean z = this.isRead;
        if (z) {
            z = true;
        }
        int i = z ? 1 : 0;
        int i2 = z ? 1 : 0;
        int i3 = z ? 1 : 0;
        return a + i;
    }

    public final boolean isRead() {
        return this.isRead;
    }

    public String toString() {
        StringBuilder c = C0261e.m12042c("Notification(id=");
        c.append(this.f18963id);
        c.append(", createdDatetime=");
        c.append(this.createdDatetime);
        c.append(", type=");
        c.append(this.type);
        c.append(", content=");
        c.append(this.content);
        c.append(", viewMore=");
        c.append(this.viewMore);
        c.append(", targetUrl=");
        c.append(this.targetUrl);
        c.append(", isRead=");
        return C4721b.m3753a(c, this.isRead, ')');
    }
}
